# -*- coding: utf-8 -*-
import webapp2
import handler

from google.appengine.ext.webapp.util import run_wsgi_app

routes = {
    webapp2.Route(
        '/',                       
        handler=handler.ViewTeams,
        name='show'),               
    webapp2.Route(
        '/edit',
        handler=handler.EditTeam,
        name='edit'),
    webapp2.Route(
        '/apply',
        handler=handler.ApplyEdit,
        name='applyedit'),
}

application = webapp2.WSGIApplication(routes, debug=True)


def main():
    run_wsgi_app(application)


if __name__ == "__main__":
    main()
